package com.cap.bts.crmdp.dealer.remind.domain;

import java.io.Serializable;

import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

import com.cap.bts.framework.common.domain.BaseDomain;


/**
 * The persistent class for the TM_SERVICE_REMIND_SEND_HISTORY database table.
 * 
 */
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
@Entity
@Table(name="TM_SERVICE_REMIND_SEND_HISTORY")
@AttributeOverrides({
    @AttributeOverride(name="createBy", column=@Column(name="CREATE_BY")),
    @AttributeOverride(name="createDate", column=@Column(name="CREATE_DATE", nullable = false)),
    @AttributeOverride(name="lastUpdateBy", column=@Column(name="LAST_UPDATE_BY")),
    @AttributeOverride(name="lastUpdateDate", column=@Column(name="LAST_UPDATE_DATE"))
})
public class ServiceRemindHistory extends BaseDomain implements Serializable {

	/**
     * 
     */
    private static final long serialVersionUID = 5163546212143812557L;

    private Long id;
	
    private Long dealerId;

	private String serviceRemindId;

	private String messageContent;

	private Integer status;

	@Id
    @GeneratedValue(strategy=GenerationType.AUTO)
	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Column(name="DEALER_ID")
	public long getDealerId() {
		return this.dealerId;
	}

	public void setDealerId(long dealerId) {
		this.dealerId = dealerId;
	}

	   @Column(name="SERVICE_REMIND_ID")
    public String getServiceRemindId() {
        return serviceRemindId;
    }

    public void setServiceRemindId(String serviceRemindId) {
        this.serviceRemindId = serviceRemindId;
    }

    @Column(name="MESSAGE_CONTENT")
    public String getMessageContent() {
        return messageContent;
    }

    
    public void setMessageContent(String messageContent) {
        this.messageContent = messageContent;
    }

    @Column(name="STATUS")
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

}